﻿<UserControl x:Class="WinSource.Controls.TitleControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             mc:Ignorable="d"
             Height="161"
             Width="480">
    
    <UserControl.Resources>

        <Style x:Key="PhoneTextTitle0Style"
         TargetType="TextBlock">
            <Setter Property="FontFamily"
            Value="{StaticResource PhoneFontFamilySemiBold}" />
            <Setter Property="Foreground"
            Value="{StaticResource RedColor}" />
            <Setter Property="FontSize"
            Value="{StaticResource PhoneFontSizeMedium}" />
        </Style>
        
    </UserControl.Resources>

  <StackPanel Background="Transparent">

    <TextBlock Margin="24,16,0,12"
               Style="{StaticResource PhoneTextTitle0Style}"
               Text="title"
               x:Name="TextBlockTitle" />

    <TextBlock Foreground="Black"
               Margin="19,-22,0,12"
               Style="{StaticResource PhoneTextTitle1Style}"
               Text="page"
               x:Name="TextBlockPage" />
  </StackPanel>

</UserControl>